package com.acme.bankapp.domain.exceptions;

/**
 * Created by zurdan on 17.11.14.
 * E-mail: Zurdanium@gmail.com
 */
public class NotEnoughFundsException extends BankException {
    private final double maxWithdraw;

    public NotEnoughFundsException(final double maxWithdraw) {
        this.maxWithdraw = maxWithdraw;
    }

    public double getMaxWithdraw() {
        return maxWithdraw;
    }
}
